package com.lineng.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Generalize {
	private String id;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date date;

	private Integer reader;

	private String people;

	private String value;

	private String path;

	private String content;

	private String parseHtml;

	public String getParseHtml() {
		return parseHtml;
	}

	public void setParseHtml(String parseHtml) {
		this.parseHtml = parseHtml;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getReader() {
		return reader;
	}

	public void setReader(Integer reader) {
		this.reader = reader;
	}

	public String getPeople() {
		return people;
	}

	public void setPeople(String people) {
		this.people = people == null ? null : people.trim();
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value == null ? null : value.trim();
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path == null ? null : path.trim();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	// 显示日期
	public String getformatDate() {
		return com.lineng.util.DateUtils.formatDateToString(getDate(), "yyyy-MM-dd");
	}

}